use Juniper;

my @data;
$object = new Juniper( "this is file name 1", "some variable", 23234345, "this is Topology", "RouterConfig");

push(@data,$object);
# Get first name which is set using constructor.
$fileName = $object->getFileName();

#print "Before Setting File Name is : $fileName\n";

# Now Set first name using helper function.
$object->setFileName( "This is file name 2." );

# Now get first name set by helper function.
$fileName = $object->getFileName();
#print "Before Setting First Name is : $fileName\n";

$object->showAll();
$object1 = new Juniper( "this is file name object test 1", "some variable 1", 23234345, "this is Topology test 1", "RouterConfig test 1");
push(@data,$object1);

$object1->showAll();
print "Size: ",scalar @data,"\n";

print $data[0]->showAll(),"\n";